package com.xzh.dao;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xzh.model.Courses;
import com.xzh.model.search.CourseSearch;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CourseMapper {
     Page<Courses> selectAll(Page<Courses> page, Courses courses);

    int insert(Courses courses);

    int updateById(Courses courses);

    int deleteByIds(List<Integer> ids);

}
